* make all the SAS-formatted buffer shapefiles for individual COUNTY circles;

libname hannah  '/projects/users/########';
libname ben '/projects/users/########';

%macro sas_shapes_circles;
  %let dists = 20 40 60 80 100;
  %local I next_dist;
  %let I = 1;
  %do %while (%scan(&dists, &I) ne );
    %let next_dist = %scan(&dists, &I);
      *import US shapefile;
      PROC MAPIMPORT OUT= hannah.USmile&next_dist.CirclesC
	DATAFILE= "/projects/programs/&next_dist.mileCirclesC.shp" create_ID_;
      RUN;
      DATA hannah.USmile&next_dist.CirclesC;
	SET hannah.USmile&next_dist.CirclesC (DROP = ID);
      RUN;
    %let I = %eval(&I + 1);
  %end;
%mend;

%sas_shapes_circles;
